﻿using System.Diagnostics;
using Hopscotch.Domain.Common;
using Hopscotch.Domain.Common.Enums;

namespace Hopscotch.Domain.Finance
{
    [DebuggerDisplay("Code = {Code}")]
    public partial class CurrencyInstrument
    {
        public override InstrumentType InstrumentType
        {
            get { return InstrumentType.Currency; }
        }

        public override string Symbol
        {
            get { return Code; }
            set { Code = value; }
        }

        public string DefaultCurrency
        {
            get { return Code; }
        }
    }
}
